<template>
	<u-popup v-model="show" mode="center" border-radius="24">
		<view class="warning-pop-content">
			<view class="header-title">
				<text>提示</text>
			</view>
			<view class="warning-content">
				<text>ppm表示每1升水中可溶解性总固体有多少mg，智小满净水器通过内置的TDS探针来实时检测此指标。举例说明:自来水的TDS如果是200ppm，意味着1吨自来水...</text>
			</view>
			<view class="footer-box">
				<u-button type="primary" @click="handleClose">确定</u-button>
			</view>
		</view>
	</u-popup>
</template>

<script>
	export default {
		data() {
			return {
				show: false
			}
		},
		methods: {
			open() {
				this.show = true
			},
			handleClose() {
				this.show = false
			}
		},
	}
</script>

<style lang="scss" scoped>
	.warning-pop-content {
		padding: 46rpx 54rpx 50rpx;
		width: 599rpx;
		box-sizing: border-box;

		.footer-box {
			margin-top: 40rpx;
			padding: 0 88rpx;
		}

		.header-title {
			font-weight: 400;
			font-size: 32rpx;
			color: #000000;
			letter-spacing: 1px;
			line-height: 44rpx;
			text-align: center;
		}

		.warning-content {
			font-weight: 400;
			font-size: 32rpx;
			color: #737373;
			letter-spacing: 1px;
			line-height: 44rpx;
			word-break: break-all;
			white-space: pre-wrap;
			margin-top: 40rpx;
		}
	}
</style>